package com.dongdongshop.service;

import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.util.PageBean;

import java.io.IOException;
import java.util.List;

public interface EsService {
    void addSource(List<TbItem> itemList) throws IOException;

    PageBean<TbItem> getInfoBySearch(String search, Integer pageNumber, Integer pageSize) throws IOException;
}
